<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Card_charging extends CI_Controller {
	public function __construct() {
		parent::__construct();
		$this->load->helper('url');
		$this->load->helper('file');
		$this->load->library('session');
		
	}
	public function charge () {
		var_dump($this->session->userdata('id'));
				
// 		$this->load->view('index');
		
	}
	public function result() {
		$data = array();
		$data['provider'] = $_POST["provider"];
		$data['cardpin'] = $_POST["pin"];
		$data['serial'] = $_POST["serial"];
		
		$this->load->view('index',$data);
	}
}